package templete;

/**
 * 模板方法模式抽象类
 *
 */
public abstract class AbstractClass {

    public void templeteMethod(){
        //some operation...
        operateA();
        //some operation...
        operateB();
        //some operation...
    }

    public abstract void operateA();

    public abstract void operateB();

}
